package com.lm.paymentweb.fallback;

import com.lm.paymentweb.common.Result;
import com.lm.paymentweb.remote.UserRemote;
import org.springframework.stereotype.Component;

@Component
public class UserServiceFallback implements UserRemote {


    @Override
    public Result sendEmail(String email) {
        return Result.fail("服务降级");
    }

    @Override
    public Result testSeata() {
        return Result.fail("服务降级");
    }
}
